/**
 * 测试Ext 
 */
define(function(require,exports,module){
	require("ext-css");
	require("ext");
	
	var app = {
		init : function(){
			Ext.application({
			    name: 'HelloExt',
			    launch: function() {
			        Ext.create('Ext.container.Viewport', {
			            layout: 'fit',
			            items: [
			                {
			                    title: 'Hello Ext',
			                    html : 'Hello! Welcome to Ext JS.'
			                }
			            ]
			        });
			    }
			});
		}	
	}
	
	module.exports = app;
	
});
